if (NOT _LWSF_PPC)
    # set cross compile CFLAGS
    if (NOT MAKE_C_FLAGS_INIT)
        set(CMAKE_C_FLAGS_INIT "-m32 -mhard-float -O2 -pipe -g -feliminate-unused-debug-types")
        set(CMAKE_CXX_FLAGS_INIT "-m32 -mhard-float -O2 -pipe -g -feliminate-unused-debug-types")
    else()
        set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} -m32 -mhard-float -O2 -pipe -g -feliminate-unused-debug-types")
        set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} -m32 -mhard-float -O2 -pipe -g -feliminate-unused-debug-types")
    endif()

    # set cross compile LD_FLAGS
    if(NOT MAKE_EXE_LINKER_FLAGS_INIT)
        set (CMAKE_EXE_LINKER_FLAGS_INIT "-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed")
    else()
        set (CMAKE_EXE_LINKER_FLAGS_INIT "${CMAKE_EXE_LINKER_FLAGS_INIT} -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed")
    endif()
    set(_LWSF_PPC true CACHE INTERNAL "set ppc")
    message(STATUS "Setting LWSF_PPC")
    message(STATUS "Cross compiling flags:" ${CMAKE_C_FLAGS_INIT})
    message(STATUS "Cross compiling LD:" ${CMAKE_EXE_LINKER_FLAGS_INIT})
endif()
